package com.ruoyi.tws.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.MyPlusEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * app版本管理对象 tws_app_version
 * 
 * @author ruoyi
 * @date 2022-03-04
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("tws_app_version")
public class AppVersion extends MyPlusEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** android/ios */
    @Excel(name = "android/ios")
    private String type;

    /** 文件地址 */
    @Excel(name = "文件地址")
    private String fileUrl;

    /** 版本 */
    @Excel(name = "版本")
    private String version;

    /** 版本号 */
    @Excel(name = "版本号")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long versionNo;

    /** 是否必须更新  0否 1是 */
    @Excel(name = "是否必须更新  0否 1是")
    private String isMust;

    /** 更新内容 */
    @Excel(name = "更新内容")
    private String remark;

}
